package com.lishe.lishe.lishe.module.excitation.bean.company;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Created by tang on 2017/11/30.
 */

public class SearchCompany implements Parcelable {
    @SerializedName("comId")
    private String comId;//	企业Id

    @SerializedName("comName")
    private String comName;//	企业名称

    protected SearchCompany(Parcel in) {
        comId = in.readString();
        comName = in.readString();
    }

    public SearchCompany(){

    }
    public SearchCompany(String comId,String comName){
        this.comId=comId;
        this.comName=comName;
    }

    public static final Creator<SearchCompany> CREATOR = new Creator<SearchCompany>() {
        @Override
        public SearchCompany createFromParcel(Parcel in) {
            return new SearchCompany(in);
        }

        @Override
        public SearchCompany[] newArray(int size) {
            return new SearchCompany[size];
        }
    };

    public String getComId() {
        return comId;
    }

    public void setComId(String comId) {
        this.comId = comId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(comId);
        dest.writeString(comName);
    }
}
